package mysql

import "time"

type Image struct {
	Id          int64     `db:"id" json:"id"`
	Url         string    `db:"url" json:"url"`
	Width       int       `db:"width" json:"width"`
	Height      int       `db:"height" json:"height"`
	CreatedTime time.Time `db:"created_time" json:"created_time"`
	UserId      int64     `db:"user_id" json:"user_id"`
}

func (Image) TableName() string {
	return "image"
}
